import { Switch, Route, Redirect } from 'react-router-dom'

import './App.css'

import MainBoard from './views/MainBoard'

function App() {
  return pug`
    #App
      Switch
        Route( exact path="/")
          Redirect(to="/mainboard")
        Route( path="/mainboard" component=MainBoard)
  `
}

export default App
